Skip to main content

Interface IDataUsageConsentService<TDataUsageConsentServiceConfig>

Declaration
public interface IDataUsageConsentService<out TDataUsageConsentServiceConfig> : IAsyncInitialize where TDataUsageConsentServiceConfig : IDataUsageConsentServiceConfig

Properties

Ready

Declaration
bool Ready { get; }

ServiceConfig

Declaration
TDataUsageConsentServiceConfig ServiceConfig { get; }

IsConsentRequiredInThisLocation

Declaration
bool IsConsentRequiredInThisLocation { get; }

ShouldCollectConsent

Declaration
bool ShouldCollectConsent { get; }

CurrentArea

Declaration
Area? CurrentArea { get; }

ConsentMap

Declaration
IDictionary<string, bool> ConsentMap { get; }

TCString

Declaration
string TCString { get; }

ACString

Declaration
string ACString { get; }

CountryCode

Declaration
string CountryCode { get; }

RegionCode

Declaration
string RegionCode { get; }

Methods

Initialize()

Declaration
void Initialize()

ShowBasicConsentForm()

Declaration
void ShowBasicConsentForm()

ShowAdvancedConsentForm()

Declaration
void ShowAdvancedConsentForm()

LogTCFData()

Declaration
void LogTCFData()

LogACData()

Declaration
void LogACData()

Events

BasicConsentFormClosed

Declaration
event Action BasicConsentFormClosed
Event Type

System.Action

AdvancedConsentFormClosed

Declaration
event Action AdvancedConsentFormClosed
Event Type

System.Action

ConsentUpdated

Declaration
event Action ConsentUpdated
Event Type

System.Action